package org.business.accounting.beans;

import java.util.List;

import org.business.accounting.interfaces.BasicOrder;
import org.business.accounting.interfaces.BasicProduct;

public abstract class BasicProductBean implements BasicProduct {

	private String name;
	private double price;
	private int amount;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public abstract List<BasicOrder> getOrderList();

	public abstract void setOrderList(List<BasicOrder> orderList);

	public abstract void add(BasicOrder basicOrder);

}
